<?php
abstract class Slog_Db_Driver
{
	abstract public function query($sql);
	
	abstract public function fetch($sql=null);
	abstract public function fetchAll($sql=null);
	abstract public function fetchValue($sql=null);
	abstract public function fetchColumn($sql=null);
	
	abstract public function insert($tablename, $data);
	abstract public function update($tablename, $data, $where);
	abstract public function delete($tablename, $where);
	
	abstract public function escape($text);
	
	abstract public function selectToSQL(Slog_Db_Select $select);
}
